import request from '@/utils/request'

/**
 * 支付
 */
export function pay(data : AnyObject) {
    return request.post('pay/pay', data, { showErrorMessage: true })
}

/**
 * 获取支付信息
 */
export function getPayInfo(data:AnyObject) {
    return request.get('pay/info', data, { showErrorMessage: true })
}

export function payType(data:AnyObject){
	return request.get('pay/payType', data, { showErrorMessage: true })
}